<?php

$cf_info_var = array(
    'menu' => array(
	'1' => array('' => '原窗口', "_blank" => "新窗口"),
	'2' => array('0' => '否', "1" => "<span class='green'>是</span>"),
    ),
    'sort' => array(
	'1' => array('0' => "页面栏目", "1" => "<span class='blue'>信息分类</span>", "2" => "<span class='red'>外部链接</span>"),
	'2' => array('0' => "不推荐", "1" => "<span class='red'>推荐</span>"),
	'2a' => array('0' => "否", "1" => "<span class='red'>推荐</span>"),
	'3' => array('0' => "隐藏", "1" => "<span class='green'>显示</span>"),
	'3a' => array('0' => "隐藏", "1" => "显示"),
	'4' => array('0' => "<span class='red'>解除</span>", "1" => "<span class='green'>设置</span>"),
	'5' => array('0' => "原窗口", "1" => "新窗口"),
    ),
    'user' => array(
	'1' => array('0' => '保密', "1" => "男", "2" => "女"),
	'2' => array("0" => "<span class='blue'>待审</span>",'1' => "<span class='green'>已通过</span>",'2' => "<span class='red'>不通过</span>", "3" => "<span class='red'>关闭</span>"),
	'3' => array('0' => '同洲员工', "1" => "非同洲员工")	
    ),
    'admin' => array(
	'1' => array('0' => '保密', "1" => "男", "2" => "女"),
	'2' => array('0' => "<span class='red'>禁止</span>", "1" => "<span class='green'>允许</span>"),
	'workplace' => array("0" => "深圳"),
	'marry_type' => array('0' => '未婚', "1" => "已婚"), 
	'work_type' => array('0' => '<span class="red">兼职</span>', "1" => '<span class="green">全职</span>'),
	'work_status' => array('0' => "<span class='blue'>试用</span>", "1" => "<span class='green'>正式</span>", "2" => "<span class='red'>离职</span>"),
	'report_work_status' => array("1" => "<span class='green'>入职</span>", "2" => "<span class='red'>离职</span>"),
	'house_type' => array('0' => '深户', "1" => "广东省内农村(非深)", "2" => "广东省内城镇(非深)", "3" => "省外农村", "4" => "省外城镇", "5" => "香港", "6" => "台湾", "7" => "澳门", "8" => "其它国籍"),
	'admin_reason_leaving' => array('0' => "无", '1' => "工作压力大", '2' => "工作时间过长", '3' => "找到其他工作", '4' => "待遇问题", '5' => "不接受公司文化", '6' => "私人原因", '7' => "辞退", '8' => "未过试用期"),
    ),
    'notice' => array(
	'1' => array('0' => "所有部门", '2' => "市场部", '100' => "销售部", '200' => "客服部", '1100' => "行政部", '300' => "人事部", '900' => "秘书组", '1000' => "IT部", '800' => "后勤部", '500' => "外教组", '400' => "资源分析部", '700' => "课程开发部"),
	'2' => array('0' => "通告", '1' => "指引", '2' => "规章制度", '3' => "流程", '5' => "内部通知", '4' => "行政文文件表格", '6' => "人事文文件表格", '7' => "员工守则"),
	'3' => array('2' => "市场部", '100' => "销售部", '200' => "客服部", '1100' => "行政部", '300' => "人事部", '900' => "秘书组", '1000' => "IT部", '800' => "后勤部", '500' => "外教组", '400' => "资源分析部", '700' => "课程开发部")
    ),
    'group' => array(
	'1' => array('0' => '独自的', "1" => "树型向下", "2" => "指定范围", "3" => "全部"),
    ),
	 'ad' => array(
	'ad_status' => array('0' => '<span class="red">关闭</span>', "1" => '<span class="green">生效</span>'),
	'ad_type'=>array('0'=>"商品滚动图",'1'=>"文章轮播图"),
    ),
	'help' => array(
		'help_sort' => array("0" => "关于我们",'1' => "购物",'2' => "订单",'3' => "寄送",'4' => "退款"),
    ),
	

);

$cf_info_var_common = array(
    'sex' => array( "男" => "男", "女" => "女"),
    'from' => array('0' => '后台', "1" => "用户"),    
    'month' => array('0' => "0", "1" => "1", '2' => "2", "3" => "3", "4" => "4", "5" => "5", "6" => "6", "7" => "7", "8" => "8", "9" => "9", "10" => "10", "11" => "11"),
    'yesno' => array('0' => '<span class="blue">否</span>', "1" => '<span class="green">是</span>'),
    'yesno2' => array('0' => '无', "1" => "有"),    
    'check' => array("0" => "<span class='blue'>待审</span>",'1' => "<span class='green'>已通过</span>",'2' => "<span class='red'>不通过</span>", "3" => "<span class='red'>关闭</span>"),
    'scheck' => array('' => '全部', '0' => "待审", "1" => "已审", "2" => "不通过"),   
	'user_check' => array('0' => "<span class='red'>未验证</span>", "1" => "<span class='green'>已验证</span>"),
	'user_from' => array('0' => "手机", "1" => "<span class='red'>官网</span>","2" => "QQ","3" => "<span class='green'>新浪</span>"),
   	'user_status' => array('0' => "<span class='red'>限制登录</span>", "1" => "<span class='green'>使用中</span>"),	
	'order_status' => array('0' => "<span class='brown'>未付款</span>", '1' => "<span class='blue'>已付款</span>",'2' => "<span class='yellow'>已发货</span>", '3' => "<span class='green'>已完成</span>",'4' => "<span class='red'>已取消</span>",'5' => "<span class='red'>已退款</span>"),
	'pay_from' => array('0' => "支付宝", '1' => "银联"),	
	'goods_status'=>array('0'=>"<span class='red'>下架</span>",'1'=>"<span class='green'>上架</span>"),
	'goods_recommend'=>array('0'=>'不推荐','1'=>'新品推荐','2'=>'热销商品'),
	'fee_is_free'=>array('0'=>"自定义运费",'1'=>"卖家承担运费"),
	'fee_type'=>array('0'=>"按件数",'1'=>"按重量"),	
	'comment_status' => array("0" => "<span class='red'>不显示</span>",'1' => "<span class='green'>显示</span>"),	
	'comment_check' => array("0" => "<span class='blue'>待审</span>",'1' => "<span class='green'>已通过</span>",'2' => "<span class='red'>不通过</span>"),
	'express_company'=>array('yuantong'=>"圆通快递",'yunda'=>"韵达快递",'zhongtong'=>"中通快递",'shunfeng'=>"顺丰速递",'tiantian'=>"天天快递",'shentong'=>"申通快递",'emsen'=>"EMS",'huitongkuaidi'=>"百世汇通",'zhaijisong'=>"宅急送",'debangwuliu'=>"德邦快递",'tiandihuayu'=>"天地华宇",'quanfengkuaidi'=>"全峰快递",'guotongkuaidi'=>"国通快递",'other'=>"其他快递"),
	'classroom_content_type'=>array('1'=>"课堂介绍",'2'=>"讲师介绍",'3'=>"课堂环境"),
	'classroom_city'=>array('1'=>"上海站",'2'=>"北京站",'3'=>"石家庄站"),	
	
);



//$userauth = new UserAuth($db);	//用户信息
//$cf_user_info = $userauth->get_user_info();     //用记登录信息

//$cf_lang = $_SESSION['language'];
//my_print($menuob->get_dpt_menu($cf_admin_menu,$_GET['dpt']));
//my_print($cf_admin_menu_on);
/* * *** smarty系统变量 **** */


$smarty->assign(array(//常用变量输出
    'cf_site_addr' => SITE_ADDR,
    'cf_root_url' => ROOT_URL,
    'cf_user_menu' => $cf_user_menu,
    'cf_user_nav' => $cf_user_nav,
    'cf_path' => $cf_path,
    'cf_module' => $cf_module,
    'cf_controller' => $cf_controller,
    'cf_action' => $cf_action,
    'cf_self_path' => $cf_self_path,
    'cf_self_page' => $cf_self_page,
    'cf_pre_page' => $cf_pre_page,
    'cf_act_page' => $cf_act_page,
	'cf_seo_info' => $cf_seo_info,
    'cf_user_info' => $cf_user_info,
	'cf_sp_info' => $cf_sp_info,
    'cf_admin_info' => $cf_admin_info,
    'cf_module_path' => $cf_module_path,
    'cf_info_var_common' => $cf_info_var_common,
    'cf_admin_menu' => $cf_admin_menu,
    'cf_admin_menu_on' => $cf_admin_menu_on,
    'cf_admin_more_menu' => $cf_admin_more_menu,
    'cf_admin_right_menu' => $cf_admin_right_menu,
    'cf_admin_dpt_row' => $cf_admin_dpt_row,
    'cf_dpt' => $cf_dpt,
    'cf_history' => $cf_history,
    'cf_self_location' => $cf_self_location,
    'cf_sessionid' => session_id(),
	'cf_article_cate' => $article_cate,
	'cf_cart_total' => $cf_cart_total,
	'cf_siteconfig' => $cf_siteconfig,	
));


?>
